import { request } from '@/common/service/service.js'
import configService from '@/common/service/config.service.js'
//initData 通用请求
export const initData = async(url,data,method)=>{
	const res = await request(url,data,method)
	return res.data
}
export const initData2 = async(url,data,method)=>{
	const res = await request(url,data,method)
	return res
}
export const uploadMedia = configService.apiUrl+'/files/upload'

export const swiperApi = async()=>{
	const res = await request('/lunbotuxinxiInfo',{},'get')
	return res.data
}